package org.takeback.chat.lottery.listeners;

import org.takeback.chat.lottery.Lottery;
import org.takeback.chat.lottery.LotteryDetail;
import org.takeback.chat.store.room.LotteryFactory;
import org.takeback.chat.store.room.Room;

public interface RoomAndLotteryListener
{
	public abstract boolean onBeforeRed(LotteryFactory.DefaultLotteryBuilder paramDefaultLotteryBuilder)
			throws GameException;

	public abstract void onRed(LotteryFactory.DefaultLotteryBuilder paramDefaultLotteryBuilder) throws GameException;

	public abstract void onFinished(Lottery paramLottery) throws GameException;

	public abstract void onExpired(Lottery paramLottery) throws GameException;

	public abstract boolean onBeforeOpen(Integer paramInteger, Lottery paramLottery) throws GameException;

	public abstract void onOpen(Lottery paramLottery, LotteryDetail paramLotteryDetail) throws GameException;

	public abstract void onStart(Room paramRoom) throws GameException;

	public abstract boolean onBeforeStart(Room paramRoom) throws GameException;
}
